﻿using System.Linq;
using Wayloop.Blog.Core.Data.Entities;


namespace Wayloop.Blog.Core.Data
{
    public interface IPostRepository : IRepository<Post>
    {
        Post Find(string slug);
        IQueryable<Post> FindAllPublished();
        IQueryable<Post> FindAllPublished(int pageIndex, int pageSize);
    }
}